package com.hq.zb.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.hq.zb.model.Role;
import com.hq.zb.vo.RoleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author huanghanrui
 * @since 2022-03-07
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    /**
     * 分页查询
     * @param page
     * @param wrapper
     * @return
     */
    List<RoleVo> queryRolePage(Page<RoleVo> page, @Param("ew") Wrapper<RoleVo> wrapper);
}
